/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    position: relative;
}

/* 导航栏样式 */
.navbar {
    background-color: #a1d1c5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.user-icon img {
    border-radius: 50%;
}

.logout a {
    color: white;
    text-decoration: none;
}

/* 论坛标题样式 */
.forum-title {
    text-align: center;
    margin: 50px 0;
}

.forum-title h1 {
    font-size: 36px;
    margin: 0;
}

/* 帖子列表样式 */
.post-list {
    width: 400px;
    margin: 0 auto;
}

.post-item {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* 发布帖子按钮样式 */
.post-button {
    text-align: right;
    margin-right: 200px;
    margin-bottom: 30px;
}

.post-button button {
    background-color: #42b983;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

/* 分页导航样式 */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.page-link {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
}

.active {
    background-color: #42b983;
    color: white;
}

.prev,
.next {
    cursor: pointer;
}

/* 背景图案样式 */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-pattern img {
    position: absolute;
}

.bg-dog1 {
    top: 50px;
    left: 50px;
}

.bg-dog2 {
    top: 80px;
    right: 80px;
}

.bg-dog3 {
    top: 150px;
    left: 120px;
}

.bg-dog4 {
    top: 200px;
    right: 150px;
}

.bg-dog5 {
    bottom: 50px;
    left: 30px;
}

.bg-dog6 {
    bottom: 80px;
    right: 50px;
}

.bg-dog7 {
    bottom: 120px;
    left: 180px;
}

.bg-dog8 {
    bottom: 180px;
    right: 200px;
}

.bg-dog9 {
    top: 300px;
    left: 250px;
}

.bg-dog10 {
    top: 350px;
    right: 280px;
}

.bg-paw1 {
    top: 100px;
    left: 100px;
}

.bg-paw2 {
    top: 220px;
    right: 120px;
}

.bg-paw3 {
    bottom: 110px;
    left: 90px;
}

.bg-paw4 {
    bottom: 230px;
    right: 100px;
}

.bg-heart {
    top: 280px;
    left: 220px;
}